package com.lrabbit.msg;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CommResponseWithExtension<T, E> extends CommResponse<T> {

    E extension;

    public CommResponseWithExtension() {
        super();
    }

    public CommResponseWithExtension(String code, String message) {
        super(code, message);
    }

    public CommResponseWithExtension(T data, E extension) {
        super(data);
        this.extension = extension;
    }

}
